package com.example.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 修改库存类型
 */
public enum EditStoreCountTypeEnum {
    ADD("添加", "add"),
    SUB("减少", "sub"),
    ;
    @EnumValue
    private String key;
    @JsonValue
    private String value;

    EditStoreCountTypeEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
